package com.tencent.wxcloudrun.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.Data;

@Data
@TableName(value = "variety")
public class Variety {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "classification_id")
    private Long classificationId;

    @TableField(value = "price")
    private BigDecimal price;

    @TableField(value = "unit_id")
    private Long unitId;

    @TableField(value = "img")
    private String img;

    @TableField(value = "is_show")
    private Integer isShow;

    @TableField(value = "norms_type")
    private Long normsType;
}